import 'package:flutter/material.dart';

main()=>runApp(MyApp());

class MyApp extends StatelessWidget{
  Widget build(BuildContext context){
    return MaterialApp(

      home: Scaffold(
        appBar: AppBar(
          title: Text("布局练习"),
        ),
        body: Column(
          children: <Widget>[
            Row(
              children: <Widget>[
                Expanded(
                  child: Container(
                  height: 200,
                  color: Colors.black,
                  child: Text("data"),
                  ),
                ),
                
              ],
            ),
            SizedBox(height: 10,),
            Row(
              children: <Widget>[
                Expanded(
                  flex: 2,
                  child: Container(height:180,child:Image.network("https://p1.ssl.qhimg.com/dmfd/228_99_75/t01c02e8248911e7228.webp",fit: BoxFit.cover,),)
                ),
                SizedBox(width: 10,),
                Expanded(
                  flex: 1,
                  child: Container(
                    height: 180,
                    child: ListView(children:<Widget>[
                      Container(
                        height: 85,
                        child: Image.network("https://p1.ssl.qhimg.com/dmfd/228_99_75/t01c02e8248911e7228.webp",fit: BoxFit.cover,),
                      ),
                      
                      SizedBox(height: 10,),
                       Container(
                         height: 85,
                        child: Image.network("https://p1.ssl.qhimg.com/dmfd/228_99_75/t01c02e8248911e7228.webp",fit: BoxFit.cover,),
                      ),
                    ],)
                  ),
                )
              ],
            )
          ],
        ),
      ),
    );
  }
}